//主页的天狗云健康数据接口
$(function(){

	var REST_HOST = 'http://test.api.lovepinyao.com'

	var TIANDOG_HOST = 'http://www.tngou.net/api/lore/news'
	var TIANDOG_IMG = 'http://tnfs.tngou.net/image'

	//获取天狗云数据
	$.ajax({
		url:TIANDOG_HOST,
		type:'get',
		data:{},
		dateType:'json',
		success:function(msg){
			list_info = msg.list;
			for(i = 0;i< list_info.length();i++){
				li = '<li class="know-li">
				<a href="">
					<img src="'+ TIANDOG_IMG+list_info[i]['img'] +'" class="know-img">
					<span class="know-right">
						<span class="know-right-tit">'+list_info[i]['title']+'</span>
						<span class="know-right-info">
							<span class="know-right-pls">已读 275</span>
							<span class="know-right-bq1">健康饮食</span>
						</span>
					</span>
				</a></li>'
				$(".know-ul").append()
			}
		}
	})

       
});